class Solution {
    /*
        如果 01 + 11 = 100
    */
    public int add(int a, int b) {
        while( b!=0 ){
            int sum = a^b;
            b = (a&b) << 1;
            a = sum;
        }
        return a;
    }
}